import os
import preset

class Values:
	def __init__(self, value):
		proc = os.popen("amixer -D equal sget '"+value+"'")
		self.buff = proc.readlines()
		proc.close()

	def valor(self):
		return float(self.buff[5].split(' ')[5])

